﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.Dtos
{
    public class UptPickDTO
    {
        public int PickingId { get; set; } // 领料id
        public string? PicTopic { get; set; } // 领料主题
        public string? PicNumber { get; set; } // 生产领料编号
        public int? PicNumTotal { get; set; } // 领料数量合计
        public DateTime? PicCollarDate { get; set; } // 领料日期

        public int? PickNum { get; set; } // 来源单据类型


        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        public List<UptPickProDTO> PickProdto { get; set; }
    }

    public class UptPickProDTO
    {
        public int PickProductId { get; set; } // 领料产品id
        public int? ProductId { get; set; } // 产品id
        public string? PickingId { get; set; } // 领料id
        public int? PickProductNum { get; set; } // 领料数量
        public int? ManpowerId { get; set; } // 人员档案id
        public DateTime? PickProductDelDate { get; set; } // 交货日期
        public string? OutManager { get; set; } // 出库库管
        public int? OutshipState { get; set; } // 出库状态
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
    }
}
